<?php

echo form_open('stores/delete'); 
echo "<table border=1>";
 foreach($result as $row) { 
	echo "<tr>";
	echo "<td><input type='checkbox' name=item[] value='".$row->id."'></td>";
   	echo "<th><h3>".anchor('stores/edit/'.$row->id,$row->Name)."</th>";
   	echo "<td>".$row->city_id."</td>";
	echo "<td>".$row->user_id."</td>";
   	echo "</tr>";
}
echo "</table>";
echo form_submit('delete','Delete');
echo form_close();
echo "<br />";
echo "<br />";